package com.hongye.app.model;

import com.jfinal.plugin.activerecord.Model;

public class ExpressModel extends Model<ExpressModel>{
	private static final long serialVersionUID = -3178808507706403714L;
	public static final ExpressModel dao = new ExpressModel();

	
	/**
	 * 通过物流公司编码获取物流公司名称
	 * @author lifuqiang
	 * 2017-1-3
	 * @param shippercode
	 */
	public static ExpressModel getExpress(String shippercode){
		String sql= "select * from express where shipper_code = '"+shippercode+"'";
		return dao.findFirst(sql);
	}
}
